package com.bw.user.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bw.user.Entity.UserEntity;
import com.bw.user.controller.UserQueryVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @ClassName UserDao
 * @Author Hao_YunKai
 * @Date 2022/4/9 10:55
 */
@Mapper
public interface UserDao {
    IPage<UserEntity> vagueList(Page<UserEntity> userPage, @Param("userName") String userName, @Param("phone") String phone);

    @Select("select * from basic_users")
    List<UserEntity> list();
}
